from langchain.agents import create_openai_tools_agent, AgentExecutor, tool
import  datetime
@tool
def test():
    """Test tool"""
    return "test"


@tool
def getnowtime():
    """获取当前时间"""
    return datetime.datetime.now()